home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ NetMeeting 1.xpl < prev    next >
Text File  |  1999-07-18  |  2KB  |  79 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="3"
  4. "UIPATH"="Internet\NetMeeting"
  5. "NAME"="URL Settings"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.2"
  8. "TEXT 1"="Homepage URL"
  9. "TEXT 2"="Default Server"
  10. "TEXT 3"="Support URL"
  11. "DESCRIPTION 1"="Some options for Microsoft NetMeeting can be changed here. The default URL for "Default Server" is "logon.netmeeting.microsoft.com"."
  12. "DESCRIPTION 2"="NOTE: To restore the default seetings, clear the fields."
  13. "AUTHOR"="Xteq Systems"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  16.  
  17.  
  18. sPath="HKEY_CURRENT_USER\Software\Microsoft\Conferencing\"
  19. sV1="HKEY_CURRENT_USER\Software\Microsoft\Conferencing\NetMeeting Home Page"
  20. sV2="HKEY_CURRENT_USER\Software\Microsoft\User Location Service\Client\Server Name"
  21. sV3="HKEY_CURRENT_USER\Software\Microsoft\Conferencing\Policies\IntranetSupportURL"
  22.  
  23. Sub Plugin_Initialize 
  24.  if RegPathExists(sPath) then
  25.     s=RegReadValue(sV1)
  26.     SetUIElement 1,s
  27.  
  28.     s=RegReadValue(sV2)
  29.     SetUIElement 2,s 
  30.  
  31.     s=RegReadValue(sV3)
  32.     SetUIElement 3,s
  33.  else
  34.     Disable
  35.  end if
  36. End Sub
  37.  
  38.  
  39. Sub Plugin_CheckData(ElementIndex)
  40. End Sub
  41.  
  42.  
  43.  
  44. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  45.  s=GetUIElement(1)
  46.  if len(s)=0 then
  47.     s=RegReadValue(sV1)
  48.     if IsEmpty(s)=false then Call RegDeleteValue(sV1)
  49.  else
  50.     Call RegWriteValue(sV1,s,1)
  51.  end if
  52.  
  53.  
  54.  s=GetUIElement(2)
  55.  if len(s)=0 then
  56.     s=RegReadValue(sV2)
  57.     if IsEmpty(s)=false then Call RegDeleteValue(sV2)
  58.  else
  59.     Call RegWriteValue(sV2,s,1)
  60.  end if
  61.  
  62.  
  63.  s=GetUIElement(3)
  64.  if len(s)=0 then
  65.     s=RegReadValue(sV3)
  66.     if IsEmpty(s)=false then Call RegDeleteValue(sV3)
  67.  else
  68.     Call RegWriteValue(sV3,s,1)
  69.  end if
  70.  
  71. End Sub
  72.  
  73.  
  74. Sub Plugin_Terminate 
  75. End Sub
  76.  
  77.  
  78.  
  79.